﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="MyContent.aspx.cs" Inherits="QQGarden.MyContent" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <!--breadcrumbs area start-->
    <div class="breadcrumbs_area">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <div class="breadcrumb_content">
                        <h3>My Account</h3>
                        <ul>
                            <li><a href="index.html">home</a></li>
                            <li>My account</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--breadcrumbs area end-->

    <!-- my account start  -->
    <section class="main_content_area">
        <div class="container">
            <div class="account_dashboard">
                <div class="row">
                    <div class="col-sm-12 col-md-3 col-lg-3">
                        <!-- Nav tabs -->
                        <div class="dashboard_tab_button">
                            <ul role="tablist" class="nav flex-column dashboard-list">
                                <li><a href="#dashboard" data-toggle="tab" class="nav-link active">仪表板</a></li>
                                <li><a href="#orders" data-toggle="tab" class="nav-link">订单</a></li>
                                <li><a href="#downloads" data-toggle="tab" class="nav-link">下载</a></li>
                                <li><a href="#address" data-toggle="tab" class="nav-link">地址</a></li>
                                <li><a href="#account-details" data-toggle="tab" class="nav-link">账户详细信息</a></li>
                                <li><a href="LoginAndRegister.aspx" class="nav-link">注销 </a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-sm-12 col-md-9 col-lg-9">
                        <!-- Tab panes -->
                        <div class="tab-content dashboard_content">
                             <div class="tab-pane fade show active" id="dashboard">
                                <h3>仪表板 </h3>
                                <p>从您的帐户仪表板。 您可以轻松地检查和查看您最近的订单， <a href="#">管理您的运输</a>和<a href="#">账单地址</a> 并 <a href="#">编辑</a>您的密码和账户详细信息。    </p>
                            </div>
                            <div class="tab-pane fade" id="orders">
                                <h3>订单</h3>
                                <asp:Repeater ID="rptContentList" runat="server" OnItemCommand="rptContentList_ItemCommand">
                                    <HeaderTemplate>
                                         <table class="table">
                                        <thead>
                                            <tr>
                                                 <th>订单</th>
                                                <th>日期</th>
                                                <th>状态</th>
                                                <th>金额</th>
                                                <th>详情</th>
                                            </tr>
                                        </thead>
                                    </HeaderTemplate>
                                    <ItemTemplate>   
                                       <tbody>
                                             <tr>
                                                <td><%#Eval("Orderid") %></td>
                                                <td><%#Eval("Orderdate") %></td>
                                                 <td><span class="success"><%# Convert.ToInt32(Eval("Orderstatus"))==1?"已完成":"处理中" %></span></td>
                                                <td><%#Eval("Orderprice") %></td>
                                                 <td><asp:LinkButton ID="lkbtn1" OnClick="lkbtn1_Click" runat="server" class="view">查看</asp:LinkButton></td>
                                            </tr>    
                                          </tbody>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </div>
                            <div class="tab-pane fade" id="downloads">
                                <h3>下载</h3>
                                <div class="table-responsive">
                                    <table class="table">
                                        <thead>
                                            <tr>
                                                <th>产品</th>
                                                <th>下载日期</th>
                                                <th>到期状态</th>
                                                <th>下载</th>
                                            </tr>
                                        </thead>
                                         <tbody>
                                            <tr>
                                                <td>Shopnovilla - 免费房地产PSD模板</td>
                                                <td>五月 10， 2018</td>
                                                <td><span class="danger">过期</span></td>
                                                <td><a href="#" class="view">单击此处下载您的文件</a></td>
                                            </tr>
                                            <tr>
                                                <td>有机 - 电子商务 Html 模板</td>
                                                <td>9月 11， 2018</td>
                                                <td>从不</td>
                                                <td><a href="#" class="view">单击此处下载您的文件</a></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <div class="tab-pane" id="address">
                                <p>默认情况下，结帐页上将使用以下地址。</p>
                                <h4 class="billing-address">帐单地址</h4>
                                <a href="#" class="view">编辑</a>
                                <p><strong>鲍比·杰克逊</strong></p>
                                <address>
                                    House #15<br>
                                    Road #1<br>
                                    Block #C
                                    <br>
                                    Banasree
                                    <br>
                                    Dhaka
                                    <br>
                                    1212
                                </address>
                                <p>孟加拉国</p>
                            </div>
                            <div class="tab-pane fade" id="account-details">
                                <h3>帐户详细信息</h3>
                                <div class="login">
                                    <div class="login_form_container">
                                        <div class="account_login_form">
                                            <form action="#">
                                                 <p>已经有账户了？ <a href="#">改为登录！</a></p>
                                                <div class="input-radio">
                                                    <span class="custom-radio">
                                                        <input type="radio" value="1" name="id_gender">
                                                        男士</span>
                                                    <span class="custom-radio">
                                                        <input type="radio" value="1" name="id_gender">
                                                        女士</span>
                                                </div>
                                                <br>
                                                <label>名字</label>
                                                <input type="text" name="first-name">
                                                <label>电子邮件</label>
                                                <input type="text" name="email-name">
                                                <label>密码</label>
                                                <input type="password" name="user-password">
                                                <label>生日</label>
                                                <input type="text" placeholder="年/月/日" value="" name="birthday">
                                                <span class="example">(E.g.: 2000/01/01)
                                                </span>
                                                <br>
                                                <span class="custom_checkbox">
                                                    <input type="checkbox" value="1" name="optin">
                                                    <label>接收合作伙伴提供优惠</label>
                                                </span>
                                                <br>
                                                <span class="custom_checkbox">
                                                    <input type="checkbox" value="1" name="newsletter">
                                                    <label>注册我们的时事通讯<br>
                                                        <em>你可以随时退订。为此，请在法律公告中找到我们的联系方式。</em></label>
                                                </span>
                                                <div class="save_button primary_btn default_button">
                                                    <asp:Button ID="subbtn1" runat="server" Text="保存" OnClick="subbtn1_Click" />
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- my account end   -->
</asp:Content>

